package demo.model;

   /**
    * product 实体类
    * Wed Dec 15 16:16:42 CST 2021 Nmggy
    */ 


public class Product{
	
	private int id;
	private String pname;
	private double unitPrice;
	private String url;
	private String details;
	private int stock;
	private String isPutOnSale;
	private int state;
	private int categoryId;
	private String isToday;
	
	public void setId(int id){
	this.id=id;
	}
	public int getId(){
		return id;
	}
	public void setPname(String pname){
	this.pname=pname;
	}
	public String getPname(){
		return pname;
	}
	public void setUnitPrice(double unitPrice){
	this.unitPrice=unitPrice;
	}
	public double getUnitPrice(){
		return unitPrice;
	}
	public void setUrl(String url){
	this.url=url;
	}
	public String getUrl(){
		return url;
	}
	public void setDetails(String details){
	this.details=details;
	}
	public String getDetails(){
		return details;
	}
	public void setStock(int stock){
	this.stock=stock;
	}
	public int getStock(){
		return stock;
	}
	public void setIsPutOnSale(String isPutOnSale){
	this.isPutOnSale=isPutOnSale;
	}
	public String getIsPutOnSale(){
		return isPutOnSale;
	}
	public void setState(int state){
	this.state=state;
	}
	public int getState(){
		return state;
	}
	public void setCategoryId(int categoryId){
	this.categoryId=categoryId;
	}
	public int getCategoryId(){
		return categoryId;
	}
	public void setIsToday(String isToday){
	this.isToday=isToday;
	}
	public String getIsToday(){
		return isToday;
	}
}

